package edu.neu.ecommerceplatform.mapper;

import edu.neu.ecommerceplatform.model.Address;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface AddressMapper {
    List<Address> findAll();
    Address findById(Integer id);
    List<Address> findByUserId(Integer userId);
    int save(Address address);
    int update(Address address);
    void deleteById(Integer id);
} 